<script setup lang="ts">
import {inject, provide, ref} from "vue";
import One from "@/components/One.vue";
const num = inject("suibian");
const age = ref(999);
provide("age",age);
</script>

<template>
    <h3>Child|{{num}}</h3>
    <hr/>
    <One/>
</template>

<style scoped>

</style>